
package com.evry.domain.collateralitem;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for Mortgagor complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Mortgagor">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;attribute name="customerId" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
 *       &lt;attribute name="ownersShare" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="inhabitCode" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Mortgagor")
public class Mortgagor {

    @XmlAttribute(name = "customerId", required = true)
    protected long customerId;
    @XmlAttribute(name = "ownersShareNumrator", required = true)
    protected int ownersShareNumerator;
    @XmlAttribute(name = "ownersShareDenominator", required = true)
    protected int ownersShareDenominator;
    @XmlAttribute(name = "inhabitCode", required = true)
    protected String inhabitCode;
    @XmlAttribute(name = "spousePartnerApproval", required = true)
    protected int spousePartnerApproval;

    /**
     * Gets the value of the customerId property.
     * 
     */
    public long getCustomerId() {
        return customerId;
    }

    /**
     * Sets the value of the customerId property.
     * 
     */
    public void setCustomerId(long value) {
        this.customerId = value;
    }

    
    
    public int getOwnersShareDenominator() {
		return ownersShareDenominator;
	}

	public void setOwnersShareDenominator(int ownersShareDenominator) {
		this.ownersShareDenominator = ownersShareDenominator;
	}

	/**
     * Gets the value of the ownersShare property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public int getOwnersShareNumerator() {
        return ownersShareNumerator;
    }

    /**
     * Sets the value of the ownersShare property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOwnersShareNumerator(int value) {
        this.ownersShareNumerator = value;
    }

    /**
     * Gets the value of the inhabitCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getInhabitCode() {
        return inhabitCode;
    }

    /**
     * Sets the value of the inhabitCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setInhabitCode(String value) {
        this.inhabitCode = value;
    }

	public int getSpousePartnerApproval() {
		return spousePartnerApproval;
	}

	public void setSpousePartnerApproval(int spousePartnerApproval) {
		this.spousePartnerApproval = spousePartnerApproval;
	}

}
